package com.yxh.service;

import redis.clients.jedis.ShardedJedis;

/**
 * Created by 32988 on 2018/5/31.
 */
public interface RedisDataSource {
    ShardedJedis getRedisClient();
    void returnResource(ShardedJedis shardedJedis);
    void returnResource(ShardedJedis shardedJedis, boolean broken);
}
